package com.example.educate.api;

import com.example.educate.model.vod.Course;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@Api(tags = "微信调用获取课程信息接口")
@RestController
@RequestMapping(value = "/api/vod/course")
public class CourseApiController {


    @GetMapping("inner/findByKeyword/{keyword}")
    @ApiOperation("根据关键字查课程")
    public List<Course> findByKeyword(@PathVariable(value = "课程关键字") String keyword){
        return null;
    }


}
